package com.vsd.domain;
import javax.persistence.Entity;

import javax.persistence.Id;

import javax.persistence.Table;

import javax.persistence.Column;

import java.util.Date;


@Entity
@Table(name="f_city")
public class City {

	@Id
	private String id;
	@Column(name="name")
	private String name;
	@Column(name="code")
	private String code;
	@Column(name="level")
	private Integer level;
	@Column(name="parent")
	private String parent;
	@Column(name="sort")
	private Integer sort;
	@Column(name="is_hot")
	private Integer isHot;
	@Column(name="state")
	private Integer state;
	@Column(name="create_time")
	private Date createTime;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getName(){
		return name;
	}
	public void setName(String name){
		this.name = name;
	}
	public String getCode(){
		return code;
	}
	public void setCode(String code){
		this.code = code;
	}
	public Integer getLevel(){
		return level;
	}
	public void setLevel(Integer level){
		this.level = level;
	}
	public String getParent(){
		return parent;
	}
	public void setParent(String parent){
		this.parent = parent;
	}
	public Integer getSort(){
		return sort;
	}
	public void setSort(Integer sort){
		this.sort = sort;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	public Integer getIsHot() {
		return isHot;
	}
	public void setIsHot(Integer isHot) {
		this.isHot = isHot;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}

	
}
